From c02af8275feb49e970e3e5651465b6e99d05a63e Mon Sep 17 00:00:00 2001 From: Jehan Date: Tue, 4 Jul 2017 14:05:34 +0200 Subject: [PATCH] configure: do not link with pthread on Android. It turns out Bionic (Android C library) has its own implementation of pthread. With this minor change, babl is fully cross-compilable for Android. --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 75c4c87..fd18e3c 100644 --- a/configure.ac +++ b/configure.ac @@ -264,6 +264,12 @@ case "$target_or_host" in MATH_LIB= THREAD_LIB= ;; + *-*-android*) + os_win32=no + PATH_SEP=':' + DIR_SEP='/' + THREAD_LIB= + ;; *) os_win32=no PATH_SEP=':' -- 2.30.2